import org.junit.After;
import org.junit.Before;
import org.junit.Test;


public class prac1 {
	
	
	@Before
	public void setUp() throws Exception {
		
		//Read from Excel
		String xPath = "C:/Priya/Silverback 4.3/Automation/QService.xls";
		String [] [] xTC, xTS;
		String KW, Xpath, TestData;
		
		xTC = XL1.xlRead(xPath, "TestCases");
		xTS = XL1.xlRead(xPath, "TestSteps");
		
		
		
	for (int i =1; i<xTC.length; i++){
		if (xTC[i][3].equalsIgnoreCase("Y")){
			for (int j = 1; j<xTS.length; j++){
				if (xTC[i][0].equalsIgnoreCase(xTS[j][1])){
					KW = xTS[j][4];
					Xpath = xTS[j][5];
					TestData = xTS[j][6];
					
					
				}
			}
		}
		
	}
		
		
		
	}
	
	@Test
	public void test1(){
		
	}
	
	@After
	public void tearDown() throws Exception{
		
	}
	
	

}
